package com.atguigu06.polymorphism;

import java.io.UTFDataFormatException;

/**
 * ClassName: PersonTest
 * Description:
 *
 * @Author liu
 * @Create 2024/10/30 20:46
 * @Version 1.0
 */
public class Person {
    String name;
    int age;
    int id;
    public void eat(){
        System.out.println("人吃饭");
    }

    public void walk(){
        System.out.println("人走路");
    }
}
